<?php

namespace App\Http\Controllers\test;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class Photo extends Controller
{
    //获得photo
    public function index(){
        echo "this is a photo resource";
    }
    //post上传photo
    public function store(){
        echo "upload a photo";
    }
}
